package org.example.service;

import org.example.domain.FruitInbound;

import java.util.List;

public interface FruitInboundService {
    /**
     * 获取入库单列表
     */
    List<FruitInbound> getInboundList(String fruitName, String supplierName, String startTime, String endTime, Integer pageNum, Integer pageSize);

    FruitInbound getInboundById(Long id);

    int createInbound(FruitInbound inbound);

    void deleteInbound(Long id);

    /***
     * 拒绝入库
     * @param id
     */
    void rejectInbound(Long id);

    /***
     * 入库审核通过
     * @param id
     */
    void approveInbound(Long id);
}
